package com.azt.api.pojo;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.azt.pojo.BaseEntity;

/**
 * 询价条目
 * @author 张栋  2016年8月8日下午3:18:09
 */
@Table(name="enq_enquiry_item")
public class EnqEnquiryItem extends BaseEntity {

	/*询价ID*/
	private java.lang.Integer enquiryId;
	/*项目id*/
	private  Integer projectId;
	
	@Transient
	private EnqEnquiry  enqEnquiry;
	
	/*类目产品ID  categoryPId*/
	private Integer categoryPId;
	@Transient
	private Category  category;
	

	/*系统ID categorySId*/
	private Integer categorySId;
	
	@Transient
	private Category  categoryS;  
	

	/*产品名称*/
	private java.lang.String productName;

	/*型号*/
	private java.lang.String model;

	/*品牌*/
	private java.lang.String brand;

	/*数量*/
	private java.lang.Double quantity;

	/*单位*/
	private java.lang.String unit;

	/*技术参数*/
	private java.lang.String descr;
	
	
	//不保存数据库的
	/*是否要记录到 repository 表,分析时用的*/
	@Transient
	private Integer needrepository;

	/*系统名称*/
	@Transient
	private String categorySName;
	
	
	public EnqEnquiry getEnqEnquiry() {
		return enqEnquiry;
	}

	public void setEnqEnquiry(EnqEnquiry enqEnquiry) {
		this.enqEnquiry = enqEnquiry;
	}

	public Category getCategoryS() {
		return categoryS;
	}

	public void setCategoryS(Category categoryS) {
		this.categoryS = categoryS;
	}

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}


	public java.lang.String getModel() {
		return this.model;
	}
	
	public void setModel(java.lang.String value) {
		this.model = value;
	}

	public java.lang.String getBrand() {
		return this.brand;
	}
	
	public void setBrand(java.lang.String value) {
		this.brand = value;
	}

	public java.lang.Double getQuantity() {
		return this.quantity;
	}
	
	public void setQuantity(java.lang.Double value) {
		this.quantity = value;
	}

	public java.lang.String getUnit() {
		return this.unit;
	}
	
	public void setUnit(java.lang.String value) {
		this.unit = value;
	}

	public java.lang.String getDescr() {
		return this.descr;
	}
	
	public void setDescr(java.lang.String value) {
		this.descr = value;
	}

	public Integer getNeedrepository() {
		return needrepository;
	}

	public void setNeedrepository(Integer needrepository) {
		this.needrepository = needrepository;
	}

	public java.lang.Integer getEnquiryId() {
		return enquiryId;
	}

	public void setEnquiryId(java.lang.Integer enquiryId) {
		this.enquiryId = enquiryId;
	}

	public Integer getCategoryPId() {
		return categoryPId;
	}

	public void setCategoryPId(Integer categoryPId) {
		this.categoryPId = categoryPId;
	}

	public Integer getCategorySId() {
		return categorySId;
	}

	public void setCategorySId(Integer categorySId) {
		this.categorySId = categorySId;
	}

	public java.lang.String getProductName() {
		return productName;
	}

	public void setProductName(java.lang.String productName) {
		this.productName = productName;
	}

	public String getCategorySName() {
		return categorySName;
	}

	public void setCategorySName(String categorySName) {
		this.categorySName = categorySName;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}
}

